import request from '@/utils/request'

// 查询车辆认证列表
export function listCartaudit(query) {
  return request({
    url: '/system/audit/list',
    method: 'get',
    params: query
  })
}

// 查询车辆认证详细
export function getCartaudit(authenticId) {
  return request({
    url: '/system/audit/' + authenticId,
    method: 'get'
  })
}

// 新增车辆认证
export function addCartaudit(data) {
  return request({
    url: '/system/audit',
    method: 'post',
    data: data
  })
}

// 修改车辆认证
export function updateCartaudit(data) {
  return request({
    url: '/system/audit',
    method: 'put',
    data: data
  })
}

// 删除车辆认证
export function delCartaudit(authenticId) {
  return request({
    url: '/system/audit/' + authenticId,
    method: 'delete'
  })
}
